package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 contract_project
 *
 * @author ruoyi
 * @date 2024-03-12
 */
@Data
public class ContractProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据id */
    private Long id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String name;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectNo;

    /** 负责人 */
    @Excel(name = "负责人")
    private String mainPerson;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private Long deptId;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 概况 */
    @Excel(name = "概况")
    private String overview;
    private String projectType;

    /** 上传附件 */
    @Excel(name = "上传附件")
    private String fileData;
    private List<Long> relationIds;
    private List<Map<Object,String>> contractList;
    private String deptName;

    private List<String> fileNameList;
    private List<Map<String,String>> fileList;

    private BigDecimal profit;
    private BigDecimal playAmount;
    private BigDecimal incomeAmount;
    private BigDecimal invoiceAmount;
    private BigDecimal reSettlementAmount;
    private BigDecimal exSettlementAmount;

}
